home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 41
/
Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso
/
Aminet
/
util
/
arc
/
xadmaster020.lha
/
xad
/
Docs
/
xad2lha.doc
< prev
next >
Wrap
Text File
|
2000-12-03
|
2KB
|
79 lines
NAME
xad2lha 1.1
SYNOPSIS
xad2lha FROM/A,TO,PASSWORD/K,NE=NOEXTERN/S,QUIET/S,HEADER0/S
DESCRIPTION
xad2lha extracts data from other archives and stores it in an
lha archive.
This program transfers all additionally information, like UNIX
owner stuff and protection bits.
FROM specifies the file archive that should be handled.
TO is the name of destination lha file. When not specified, the
source name extensions are stripped and .lha is added.
PASSWORD can be used to supply a password for unarchiving of
encrypted archives. This argument requires the keyword PASSWORD.
NOEXTERN prohibits the use of external clients for
recognition purposes.
HEADER0 uses header level 0. This header is older and does not
have special information.
The QUIET option makes the program really silent.
DATA FORMAT
This tool normally creates files using header level 2.
Uncompressable files are stored using -lh0-, all the others use
-lh5- identifier. Directories use -lhd- identifier. The OS-ID is
set to 'A', which is used by other Amiga lha programs.
Following header information is included:
0x00 CRC always
0x01 file name except it is an directory
0x02 directory name except the file name has no directory part
0x50 UNIX protection bits if there are group or other bits
0x51 UNIX owner ID's only if user or group ID is not zero
0x52 UNIX group name if exists
0x53 UNIX user name if exists
0x54 UNIX date always, except if source archive had no
date (no UTC correction, but local time)
0x71 comment if exists
When HEADER0 ist used, then directories are stored using -lh0- and
a slash at name end. Comments are included in file name field and
are seperated by a zero byte. Additionally header information is not
supported with that format.
Standard protection bits and time stamp are always included in both
headers.
EXAMPLES
Shell> xad2lha archive.tar
Make an lha archive from tar archive.
Shell> xad2lha archive.lha archive2.lha
Recreate the lha archive.
HISTORY
xad2lha 1.1
- Now also parses and converts disk archives.
xad2lha 1.0
- First public release.
COPYRIGHT
xad2lha is freely distributable for noncommercial use.
AUTHOR
Dirk Stöcker
Geschwister-Scholl-Straße 10
01877 Bischofswerda
GERMANY
Dirk Stoecker <stoecker@amigaworld.com>